package io.fredia.femicro.txManager.api.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import io.fredia.femicro.txManager.api.service.ApiModelService;
import io.fredia.femicro.txManager.manager.ModelInfoManager;
import io.fredia.femicro.txManager.model.ModelInfo;

/**
 * create by lorne on 2017/11/13
 */
@Service
public class ApiModelServiceImpl implements ApiModelService {

	@Override
	public List<ModelInfo> onlines() {
		return ModelInfoManager.getInstance().getOnlines();
	}

}
